package businesslogic.courseselectionbl.test;

import po.Institute;
import po.StudentPO;

@SuppressWarnings("serial")
public class MockStudent extends StudentPO {
	public MockStudent(String id, Institute institute) {
		super(null, null, null, 0, null, 0);
		set(id, institute);
		
	}
	
	private void set(String id, Institute institute) {
		setId(id);
		this.setGpa(0);
		this.setId(id);
		this.setInstitute(institute);
		this.setName("Student name");
		this.setPassword("password");
		this.setYear(2012);
	}
	
	
	public StudentPO getStudent() {
		return new StudentPO(getId(), getName(), getPassword(), getYear(), getInstitute(), getGpa());
	}
}
